import axios from "axios"
class DesignModifyModel{
  getData(formInline){
    return axios.get("http://localhost/NyxDesignModify",{params:formInline})
  }
  del(id){
    return axios.delete(`http://localhost/NyxDesignModify/${id}`)
  }
  getId(){
    return axios.get(`http://localhost/NyxDesignModify/id`)
  }
  save(formInline){
    return axios.post(`http://localhost/NyxDesignModify`,formInline)
  }
  update(formInline){
    return axios.put(`http://localhost/NyxDesignModify`,formInline)
  }
}
export default DesignModifyModel